class CreateDrivingLessons < ActiveRecord::Migration
  def change
    create_table :driving_lessons do |t|
      t.integer :grade
      t.text :comment
      t.references :timeslot
      t.references :car
      t.references :topic

      t.timestamps
    end
  end
end
